package com.ruoyi.project.dict.checkzi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 测字列表对象 check_zi
 * 
 * @author shixiangwen
 * @date 2024-10-31
 */
public class CheckZi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 字 */
    @Excel(name = "字")
    private String zi;

    /** 模式 */
    @Excel(name = "模式")
    private Integer mode;

    /** 级别 */
    @Excel(name = "级别")
    private Integer grade;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinyin;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZi(String zi) 
    {
        this.zi = zi;
    }

    public String getZi() 
    {
        return zi;
    }
    public void setMode(Integer mode) 
    {
        this.mode = mode;
    }

    public Integer getMode() 
    {
        return mode;
    }
    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zi", getZi())
            .append("mode", getMode())
            .append("grade", getGrade())
            .append("pinyin", getPinyin())
            .toString();
    }
}
